<script setup lang="ts">
import { RouterLink, RouterView } from 'vue-router'
import HelloWorld from './components/HelloWorld.vue'
</script>

<template>
  <header>
   
      <nav>
        <RouterLink to="/">Home</RouterLink>
        <RouterLink to="/about">About</RouterLink>
        <RouterLink to="/addfood">添加食谱</RouterLink>
        <RouterLink to="/showfood">食谱列表</RouterLink>
        <RouterLink to="/addshop">添加理疗项目</RouterLink>
        <RouterLink to="/showshop">理疗项目列表</RouterLink>
      </nav>
  </header>

  <RouterView />
</template>

<style scoped>
a{
  margin: 0 10px;
}
</style>
